package com.app.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_ammunition")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AmmunitionModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer number;//序号
    private String taskType;//任务类型
    private String type;//型号
    private String detectionTime;//检测时间
    private String workTime;//工作时间
    private String detectionNumber;//检测数量
    private String department;//责任单位
    private String remark;//备注
    private Timestamp createTime;
    private Timestamp updateTime;
    @TableField(exist = false)
    private List<String> workTimeList;//工作时间
}
